
/* 


        kemuid:{ type: Schema.Types.ObjectId, ref: 'kemu' },

        pointName:String,
  
        pointDesc:String

*/

/* 

	userid:{type:Schema.Types.ObjectId,ref: 'user'},
	topic_head :String,
	topic_body :String,
	topic_professionid:{type:Schema.Types.ObjectId,ref: 'profession'},
	topic_kemuid:{type:Schema.Types.ObjectId,ref: 'kemu'},
	topic_pointid:{type:Schema.Types.ObjectId,ref: 'point'},
	topic_time:{ type: Date, default: Date.now }

*/



class topicBean{

    constructor(userid,topic_head,topic_body,topic_professionid,topic_kemuid,topic_pointid){
            this.userid = userid
            this.topic_head = topic_head
            this.topic_body = topic_body
            this.topic_professionid = topic_professionid
            this.topic_kemuid = topic_kemuid
            this.topic_pointid = topic_pointid
            this.topic_time = topic_time
    }
}

module.exports={
    topicBean

}